package org.example.constant;

/**
 * 信息提示常量类(参考其他项目)
 */
public class MessageConstant {

    public static final String USERNAME_NOT_NULL = "用户名不能为空";
    public static final String USERNAME_EXISTS = "用户名已存在";
    public static final String EMAIL_NOT_NULL = "邮箱不能为空";
    public static final String EMAIL_EXISTS = "邮箱已存在";
    public static final String PHONE_NOT_NULL = "手机号不能为空";
    public static final String PHONE_FORMAT_ERROR = "手机号格式不正确";
    public static final String PHONE_EXISTS = "手机号已存在";
    public static final String ACCOUNT_PASSWORD_ERROR = "账号或密码错误";
    public static final String PASSWORD_NOT_NULL = "密码不能为空";
    public static final String ACCOUNT_NOT_FOUND = "账号不存在";
    public static final String ALREADY_EXISTS = "已存在";
    public static final String UNKNOWN_ERROR = "未知错误";
    public static final String NO_PERMISSION = "无权限";
    public static final String NO_REGULAR_USER = "没有普通用户";
    public static final String USER_ID_AND_NEW_PASSWORD_NOT_NULL = "用户ID和新密码不能为空";
    public static final String REGISTER_SUCCESS = "注册成功";
    public static final String LOGIN_SUCCESS = "登录成功";
    public static final String UPDATE_SUCCESS = "更新成功";
    public static final String BIND_DEFAULT_ROLE_FAILED = "绑定默认角色失败";
    public static final String BIND_DEFAULT_ROLE_SUCCESS = "绑定默认角色成功";
    public static final String PASSWORD_RESET_SUCCESS = "密码重置成功";
    public static final String USER_IS_ADMIN = "目标用户已经是管理员";
    public static final String USER_IS_SUPER_ADMIN = "目标用户已经是超级管理员";
    public static final String USER_IS_USER = "目标用户已经是普通用户";
    public static final String DELETE_SUCCESS = "删除成功";
    public static final String UP_ADMIN_SUCCESS = "升级成功";
    public static final String DOWN_ADMIN_SUCCESS = "降级成功";
    public static final String PHONE_REGEX = "^1[3-9]\\d{9}$";
    public static final String NO_CHANGE = "没有修改";
    public static final String NO_USER = "无用户";
    public static final String USER_ID_NOT_NULL = "查询用户Id不能为空";
    public static final String USER_NOT_ROLE = "用户无角色";
    public static final String QUERY_SUCCESS = "查询成功";

}
